// import exntends from 'humengqiao/runtime/helpers/extends';
// import {transform} from 'babel-core';
import 'babel-polyfill';
import React from 'react';
import ReactDOM from 'react-dom';
import Header from './header';
import styles from './index.styl';
import Main from './main';
import HelloVue from './helloVue';
import Vue from 'vue';

console.log(HelloVue)

const a = undefined;

class Hu {

}

// window.Hu = Hu

// console.log(exntends)

// const result = transform(`new Promise()`, {})
// console.log(result.ast)

// const Hello = () => (<div>Hello</div>);

class App extends React.Component {
    constructor(props) {
        super(props)
    }

    render() {
        return (
            <div>
                <Header className={styles} />
                <Main />
            </div>
        )
    }
}

ReactDOM.render(<App />, document.getElementById('app'))

const vm = new Vue({
    el: '#app2',
    render: h => h(HelloVue)
})

if(module.hot) {
    module.hot.accept()
}


